<?php
namespace Cars;
class BCar implements iCar{// 实现接口 implements
    private $color;
    private $type;
    
    public function setCarParam($color, $type) {
        $this->color=$color;
        $this->type=$type;
    }
    
    public function getCarParam() {
        echo '车车的颜色：', $this->color,'；车车的类型：', $this->type;
    }            
}
/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

